package cn.edu.cxcyzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.cxcyzx.entity.Group;
import cn.edu.cxcyzx.entity.MemberPOJO;

public interface GroupDao {
	public void insertGroup(Group group);
	
	public Group getGroupBy_groupId(String groupId);
	
	public Integer getId();
	
	public void update_memberNum(@Param("memberNum")int memberNum,@Param("groupId")String groupId);
	
	public Group getGroupBy_projectId(int projectId);
	
	public void set_groupName(@Param("groupName")String groupName,@Param("groupId")String groupId);
	
	/**
	 * 团队成员减一
	 * @param groupId
	 */
	public void minus_OneMember(String groupId);
	
}
